﻿using System.ServiceModel.DomainServices.Client.ApplicationServices;
using NetBay.Core.BusinessEntities;
using System.Collections.Generic;
using Rio.Framework.Pages.Context;

namespace Rio.Application.RioWeb.Common.Context
{
    public sealed partial class WebContext : WebContextBase
    {
        public User CurrentUser
        {
            get
            {
                return GlobalWebContext.CurrentUser;
            }
        }

        public string Culture
        {
            get
            {
                return GlobalWebContext.Culture;
            }
        }

        public IDictionary<string, string> RioAppSettings
        {
            get
            {
                return GlobalWebContext.RioAppSettings;
            }
        }
    }
}
